package top.rainf.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.rainf.domain.vo.BanRecord;

import java.util.List;

/**
 * @author 星环
 * @date 2023/5/20 12:44:57
 * @description
 */
@Mapper
public interface BanRecordMapper {
     BanRecord selectByUserIdAndBlockId(@Param("userId") int userId,@Param("blockId") int blockId);
     List<BanRecord> selectByUserIdAndBlockIdActive(@Param("userId") int userId, @Param("blockId") int blockId);
}
